import type { App } from 'vue'
import permission from './permission'

const directives: any = {
    permission
}

export default {
    install(app: App) {
        Object.keys(directives).forEach((key) => {
            app.directive(key, directives[key])
        })
    },
}